package fctu.simulator;

import com.hitechbangla.fctu.utility.enumall.CommandType;
import com.hitechbangla.fctu.base.*;
import com.hitechbangla.fctu.base.aircraft.*;
import com.hitechbangla.fctu.base.radar.*;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.LinkedList;
import java.util.List;
import resource_builder.AircraftTypeBuilder;

public class FCTUSimulator 
{
    GameScene gameScene;
    public static void main(String[] args) throws FileNotFoundException,IOException, ClassNotFoundException
    {   
        FCTUSimulator fctuSimulator = new FCTUSimulator();
	fctuSimulator.startGame();
    }//end of main

    public FCTUSimulator() {
	gameScene = new GameScene();
    }//end of constructor
    
    public void startGame(){
	/*
	AircraftType aircraftType = new AircraftType("F7", 200, 50, 2000, new AircraftTurnDegree(1.1f,6.0f, 2.2f));
        AircraftState aircraftState = new AircraftState("111", new Location(21, 18, 0), 30, 200, 1000);
        Aircraft aircraft = new Aircraft(aircraftState, aircraftType);
        aircraft.executeCommand("111sr289");
        
        AircraftType aircraftType1 = new AircraftType("F1", 200, 50, 2000, new AircraftTurnDegree(1.1f, 6.0f, 2.2f));
        AircraftState aircraftState1 = new AircraftState("222", new Location(10, -5, 0), 30, 200, 1000);
        Aircraft aircraft1 = new Aircraft(aircraftState1, aircraftType1);

	List<Aircraft> allAC = new LinkedList<Aircraft>();
	allAC.add(aircraft);
        allAC.add(aircraft1);
	RadarType radType = new RadarType("Small", 64, 20 );
	RadarState radState = new RadarState(new Location(-20, 17, 0));
	Radar radar = new Radar(radType, radState, allAC);
	radar.updateRadar();        
	* */
    }//end of startGame
    
    
}//end of class
